

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<h2>Invite to my clan</h2>

<form action="" method="POST">
    Select bandit: 
    <select name="to">
        <c:forEach items="${bandits}" var="bandit">
            <option value="${bandit.userId}">${bandit.user.title}</option>
        </c:forEach>
    </select>
    <br/><br/>
    <input type="submit" value="Invite this bandit" />
</form>
